package com.woniu.airent.mapper;

import com.woniu.airent.entity.Lease;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LeaseMapper {
    int deleteByPrimaryKey(Integer leaseId);

    int insert(Lease record);

    Lease selectByPrimaryKey(Integer leaseId);

    List<Lease> selectAll();

    int updateByPrimaryKey(Lease record);
}
